<template>
  <div>
		<ul>
			<li>
				<h2>公司名称：</h2>
				<p>驱蚊器翁</p>
			</li>
			<li>
				<h2>工作时间：</h2>
				<p>驱蚊器翁</p>
			</li>
			<li>
				<h2>职位：</h2>
				<p>前端开发工程师</p>
			</li>
			<li>
				<h2>工作描述：</h2>
				<p>1.阿斯达</p>
				<p>2.公司的鬼地方</p>
				<p>3.驱蚊器翁阿达</p>
			</li>
		</ul>
  </div>
</template>

<script>
import { formatTime } from '@/utils/index'
import card from '@/components/card'

export default {
  components: {
    card
  },

  data () {
    return {
      logs: []
    }
  },

  created () {
    const logs = (wx.getStorageSync('logs') || [])
    this.logs = logs.map(log => formatTime(new Date(log)))
  }
}
</script>

<style>
.log-list {
  display: flex;
  flex-direction: column;
  padding: 40rpx;
}

.log-item {
  margin: 10rpx;
}
ul li{margin:15px 5px;}
ul li p{margin:10px 0 10px 15%; opacity: 0.6; font-size: 18px;}
</style>
